# Contributor: Jake Buchholz Göktürk <tomalok@gmail.com>
# Maintainer: Jake Buchholz Göktürk <tomalok@gmail.com>
pkgname=log_proxy
pkgver=0.5.2
pkgrel=0
pkgdesc="A tiny C utility for log rotation for apps that write their logs to stdout."
url="https://github.com/metwork-framework/log_proxy"
arch="all"
license="BSD-3-Clause"
makedepends="glib-dev"
source="
	log_proxy-$pkgver.tar.gz::https://github.com/metwork-framework/log_proxy/archive/v$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver/src"

build() {
	make
}

check() {
	make test
}

package() {
	make install DESTDIR="$pkgdir" PREFIX="/usr"
}

sha512sums="
b1769ef3ce4236d8a8440c95e9fe08a4327b43dc6a00df2de870b7a50a03fe90ced43b614568bd78068b6d765eb590a049e837831ed3754e0b84796886733e10  log_proxy-0.5.2.tar.gz
"
